package com.zy.pro.utils;

public class BaseConst {
	/**
	 * 日志类型（1 app业主2app商家3app物业4后台）
	 */
	public final static String LOG_TYPE_ONE = "1";
	public final static String LOG_TYPE_TWO = "2";
	public final static String LOG_TYPE_THREE = "3";
	public final static String LOG_TYPE_FOUR = "4";
	
	/**
	 * 日志状态（2waring 警告 1 info 普通  3error 错误）
	 */
	public final static Integer LOG_STATUS_INFO = 1;// 普通
	public final static Integer LOG_STATUS_WARN = 2;// 警告
	public final static Integer LOG_STATUS_ERROR = 3;// 错误
	
	

	public final static Integer FLAG_SUCCESS = 1;	//操作成功
	public final static Integer FLAG_ERROR = 2;		//操作失败
	public final static Integer FLAG_EXCEPTION = 3;		//服务异常
	
	
	//add by jyx
	public final static Integer INSERT_SUCCESS_FLAG = 2;	//添加成功
	public final static Integer INSERT_ERROR_FLAG = 1;		//添加失败
	public final static Integer UPDATE_SUCCESS_FLAG = 4;	//更新成功
	public final static Integer UPDATE_ERROR_FLAG = 3;		//更新失败
	public final static Integer DELETE_SUCCESS_FLAG = 6;	//删除成功
	public final static Integer DELETE_ERROR_FLAG = 5;		//删除失败
	
	public final static Integer ERROR_FLAG = 1;	  //失败标识
	
	//空格
	public static final String SPACE = " ";
	
	//上传图片最大值
	public static final long UPLOAD_IMAGE_MAX = 1024 * 1024;//1MB

	//上传Excel最大值
	public static final long UPLOAD_EXCEL_MAX = 1024 * 1024;//1MB
	

	
}
